package com.hhf.rpc.core.fault.tolerant;

import com.hhf.rpc.core.model.RpcResponse;

import java.util.Map;

/**
 * @Author hhf
 * @Date 2024/10/20
 * @Description 容错策略接口
 */
public interface TolerantStrategy {

    RpcResponse doTolerant(Map<String,Object> context,Exception e);
}
